<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=yes">
  
  
  <title>  Windows搭建最完美的VScode开发平台 |   写夜子的个人博客 </title>

 
  
    <link rel="icon" href="/images/favicon.png">
  


  <link rel="stylesheet" href="/nayo.min.css"> 
</head>  
  <body>   
    
      <header class="header">
	
  <nav class="header-nav">        
   
    <span class="iconfont icon-menu mobile-toggle"></span>   	

    <div class="header-menu">          
              
            
              <a class="header-menu-link" id="header-menu-home" href="/">首页</a>     
            
            
            
              <a class="header-menu-link" id="header-menu-archives" href="/archives">归档</a>     
            
            
            
              <a class="header-menu-link" id="header-menu-tags" href="/tags">标签</a>     
            
            
            
              <a class="header-menu-link" id="header-menu-about" href="/about">关于</a>     
            
            
            
              <a class="iconfont icon-menu-search header-menu-link" id="header-menu-search"></a>
            
                
    </div>  
    
  </nav>
</header>   

      <div class="container">       
          
          
            <section class="main">  
          

          <article class="post">
  
	<div class="post-header">

	<p class="post-title">	
		Windows搭建最完美的VScode开发平台
	</p>
			

	<div class="meta-info">	
	<span>
		7月 21, 2019
	</span>

	
	
		<i class="iconfont icon-words"></i>
		<span>
			547
		</span>
	
</div>

</div> 
	 

	  <div class="post-content slideDownMin">

		

			
					<h2 id="说在前面"><a href="#说在前面" class="headerlink" title="说在前面"></a>说在前面</h2><p>  公司的电脑是Windows电脑,且显示器的分辨率只有1080P,在使用vscode写代码的过程中,眼睛简直要瞎了,跟Mac对比起来,太过于模糊.于是开始了一番折腾,包括字体、文件图标、主题等等一系列的设置.</p>
<h3 id="主题"><a href="#主题" class="headerlink" title="主题"></a>主题</h3><p>   主题我经过千挑万选,最终选定了One Dark Pro Vivid,安装请直接在vscode扩展里面搜索即可.<a id="more"></a></p>
<h3 id="图标"><a href="#图标" class="headerlink" title="图标"></a>图标</h3><p>   图标选择了Meterial Icon Theme,安装在vscode扩展里面也能直接搜索.</p>
<h3 id="字体"><a href="#字体" class="headerlink" title="字体"></a>字体</h3><p>   写代码时,我们得一直面对着电脑屏幕,所以字体的显示很重要.默认字体配上1080P,简直要瞎眼.<br>   我千挑万选,选了两款字体：<a href="https://github.com/tonsky/FiraCode" target="_blank" rel="noopener">FiraCode</a>和<a href="https://www.typography.com/blog/introducing-operator?source=post_page---------------------------" target="_blank" rel="noopener">Operator Mono</a>.</p>
<p>   字体预览：</p>
<p>   FiraCode：</p>
<p>   <img src="https://i.loli.net/2019/07/18/5d304e1e977ca96618.png" alt="TIM图片20190718184622.png"></p>
<p>   Operator Mono：<br>   <img src="https://i.loli.net/2019/07/18/5d304e1e8772b67232.png" alt="TIM图片20190718184539.png"></p>
<p>   其中Operator Mono为付费字体,但是我已经将其下载好了,直接clone项目,解压安装即可.</p>
<p>   安装方法：</p>
<ol>
<li>先colone项目,找到压缩包,解压：</li>
</ol>
<p><img src="https://i.loli.net/2019/07/18/5d3050b5ea1a552809.png" alt="TIM图片20190718185740.png"></p>
<ol start="2">
<li>打开解压之后的安装包,全选,点击为所有用户安装:</li>
</ol>
<p><img src="https://i.loli.net/2019/07/18/5d304c084cd1d29005.png" alt="TIM图片20190718183729.png"></p>
<ol start="3">
<li><p>到vscode里面进行设置font-family即可,也可以直接复制我的setting.json文件里的内容到你的setting.json文件里面,我已经将字体的粗细、行高都调整好了.</p>
<p>重启Vscode,即可成功应用字体.</p>
</li>
</ol>
  	
					
	  </div>     
	  

	
<div class="post-meta">
      	

      
        <i class="iconfont icon-tag"></i>     
          <a class="tag-link" href="/tags/VScode/">VScode</a> <a class="tag-link" href="/tags/Windows/">Windows</a>    
      	
</div>





<div class="post-footer">
  <div class="pf-left">
      <img class="pf-avatar" src="http://wx2.sinaimg.cn/mw690/89296167gy1fu5ph67x17j21kw1kwhdu.jpg">
      <p class="pf-des">hi,我是写夜子,希望你有愉快的一天.</p>
  </div>

  <div class="pf-right">           
      <div class="pf-links">
        




<span class="donate-btn">
	<span class="iconfont icon-donate"></span>
</span>


<div id="donate-box" class="sildeUpMin">

	<span class="donate-cancel iconfont icon-cancel"></span>

	<div class="donate-img-box">
		<img id="donate-qr-wechat" class="noLazyLoad donate-img lazyload" src="/images/placeholder.png" alt="No Donate Image!" data-src="/images/donate1.png">	
		<img id="donate-qr-alipay" class="noLazyLoad donate-img lazyload" src="/images/placeholder.png" alt="No Donate Image!" data-src="/images/donate2.png">	
	</div>

	<span class="donate-word">世界美好 你也是</span>

	<div class="donate-list">
		<span class="iconfont icon-donate-wechat"></span>
		<span class="iconfont icon-donate-alipay"></span>
	</div>

</div>

 
        
	
<script id="-mob-share" src="http://f1.webshare.mob.com/code/mob-share.js?appkey=21d601593a1de"></script>
	
	<span class="share-btn">
	<span class="iconfont icon-share"></span>
	</span>


	<div class="-mob-share sildeUpMin">
		   			             
            <a class="iconfont  icon-share-qq -mob-share-qq"></a>		
     	   			             
            <a class="iconfont  icon-share-weixin -mob-share-weixin"></a>		
     	   			             
            <a class="iconfont  icon-share-weibo -mob-share-weibo"></a>		
     	   			             
            <a class="iconfont  icon-share-douban -mob-share-douban"></a>		
     	   			             
            <a class="iconfont  icon-share-facebook -mob-share-facebook"></a>		
     	   			             
            <a class="iconfont  icon-share-twitter -mob-share-twitter"></a>		
     	   			             
            <a class="iconfont  icon-share-google -mob-share-google"></a>		
     	   
	</div>	

      </div>  
    <nav class="pf-paginator">
      
         
          <a href="/2019/07/21/Flutter基本页面布局/" data-hover="Flutter基本页面布局">上一篇</a>      
            
        
      
        
        <a href="/2019/05/28/删除github项目中指定目录或文件/" data-hover="删除github项目中指定的目录和文件"> 下一篇</a>
            
  </nav>   
  </div>
</div> 
	
	
</article>

          </section> 
      </div>            
    
    <a id="backTop">
      <span>
        <i class="iconfont icon-backtotop"></i>
      </span>
    </a> 

  
    
    <div class="search-container sildeUpMin">
        <div class="search-header">
            <input type="text" placeholder="输入你想搜索的" id="search-input" class="search-input">  
            <span class="search-cancel iconfont icon-cancel"></span>
        </div>
        <div id="search-result" class="search-result"></div>
    </div>
 
     <div class="mobile-menu">      

      
      <img class="mobile-menu-icon lazyload" src="/images/placeholder.png" data-src="/images/favicon.png">   
      

         
            

            <a class="mobile-menu-link" href="/">首页
            </a>
            
         
            

            <a class="mobile-menu-link" href="/archives">归档
            </a>
            
         
            

            <a class="mobile-menu-link" href="/tags">标签
            </a>
            
         
            

            <a class="mobile-menu-link" href="/about">关于
            </a>
            
         
                          

            <a class="mobile-menu-link mobile-menu-search" href="#">搜索 </a>                 
            
         
      
</div>        
    


<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?636802045446222199ae541e32c8133e"; 
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>





     
    




<footer id="footer">


		<div class="footer-copyright">
		&copy;
		
		2018-
		
		2020

		Xieyezi
		<br>

		Copyright
		<a href="https://github.com/xieyezi" target="_blank">Xieyezi</a>
		</div>

</footer>
   

  

    <script src="/nayo.bundle.js"></script>           
  </body>        
</html>